package com.isunland.managesystem.ui;

import android.content.Intent;
import android.support.v4.app.Fragment;
import com.isunland.managesystem.base.BaseListFragment;

public class PublishAccnouceListActivity extends SingleFragmentActivity {
  private BaseListFragment mFragment;

  @Override protected Fragment createFragment() {
    return mFragment = new PublishAnnounceListFragment();
  }

  @Override protected void onNewIntent(Intent intent) {
    if (intent.getFlags() == Intent.FLAG_ACTIVITY_CLEAR_TOP) {

      //修改完成后需要刷新界面。
      if (mFragment != null) {
        mFragment.volleyPost();
      }
    }
    super.onNewIntent(intent);
  }
}


